<%- layout('backend/layout/default') %>
    <div class="page" id="Page" data-script-path="views/serie/EditView">
        <div class="page-header">
            <ol class="breadcrumb">
                <li><a href="/backend">首页</a></li>
                <li><a href="/backend/series">套系信息</a></li>
                <li class="active"><a href="#">新增套系</a></li>
            </ol>
            <h2>新增套系</h2>
        </div>
        <div class="page-content">
            <div class="content-container">
                <form class="validform form-horizontal" action="/backend/serie/create" method="post" data-operation="ajax" data-success-mode="redirect"
                data-error-mode="alert">
                    <div class="form-group">
                        <label class="col-lg-1 control-label">套系名称</label>
                        <div class="col-lg-6">
                            <input class="form-control" name="title" type="text" placeholder="套系名称" validate-rules="required">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-1 control-label">拍摄价格</label>
                        <div class="col-lg-6">
                            <input class="form-control" name="price" type="text" placeholder="拍摄价格" validate-rules="required">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-1 control-label">拍摄数量</label>
                        <div class="col-lg-6">
                            <input class="form-control" name="takeCount" type="text" placeholder="拍摄数量" validate-rules="required">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-1 control-label">可选数量</label>
                        <div class="col-lg-6">
                            <input class="form-control" name="optCount" type="text" placeholder="可选数量" validate-rules="required">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-1 control-label">简介</label>
                        <div class="col-lg-6">
                            <textarea class="form-control" name="intro" placeholder="简介"></textarea>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-1 control-label">样片信息</label>
                        <div class="col-lg-6">
                            <button class="btn btn-success fileinput-button">
                                <i class="ion-plus"></i>
                                <span>选择文件</span>
                                <input id="fileupload" type="file" name="files" multiple>
                            </button>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-1 control-label"></label>
                        <div class="col-lg-6" >
                            <table class="file-selected" id="files">
                                
                            </table>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-lg-6 col-lg-offset-1">
                            <button type="reset" class="btn btn-default">重置</button>
                            <button type="submit" class="btn btn-primary">保存</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>